package day01.ti.ti01;

public class DianShi extends ShuXing{
    private String cicun;
    private String fbl;

    public DianShi() {
    }

    public DianShi(String pinpai, String xinghao, String yanse, String shoujia) {
        super(pinpai, xinghao, yanse, shoujia);
    }

    public DianShi(String cicun, String fbl) {
        this.cicun = cicun;
        this.fbl = fbl;
    }

    public DianShi(String pinpai, String xinghao, String yanse, String shoujia, String cicun, String fbl) {
        super(pinpai, xinghao, yanse, shoujia);
        this.cicun = cicun;
        this.fbl = fbl;
    }

    public String getCicun() {
        return cicun;
    }

    public void setCicun(String cicun) {
        this.cicun = cicun;
    }

    public String getFbl() {
        return fbl;
    }

    public void setFbl(String fbl) {
        this.fbl = fbl;
    }
    public void zi(){
        System.out.println("尺寸为  "+getCicun()+"分辨率  "+getFbl());
    }

}
